<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Home</title>
</head>
<body>
<h1>登陆成功</h1>
<a th:href="@{/admin}">检测ROLE_ADMIN角色</a>
<a th:href="@{/user}">检测ROLE_USER角色</a>
<button onclick="window.location.href='logout'">退出登录</button>
</body>
</html>
